<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
        <title>Привет Администратор</title>
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/css/960.css" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/css/template.css" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/css/colour.css" type="text/css" media="screen" charset="utf-8" />
	<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/js/glow/1.7.0/widgets/widgets.css" media="screen" charset="utf-8"/>
	<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/js/redactor/css/redactor.css" media="screen" charset="utf-8"/>
		
        <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/redactor/redactor.js"></script>
	<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/glow/1.7.0/core/core.js" type="text/javascript"></script>
	<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/glow/1.7.0/widgets/widgets.js" type="text/javascript"></script>
	
        <script type="text/javascript">
            glow.ready(function(){
                new glow.widgets.Sortable('#content .grid_5, #content .grid_6', {
                    draggableOptions: {
                        handle: 'h2'
                    }
                });
            });
        </script>
    </head>
    <body>
        <h1 id="head">Администрировать - это просто!</h1>
        <?php
        	$this->widget('zii.widgets.CMenu',array(
        		'id'=>'navigation',
        		'activeCssClass'=>'active',
        		'items'=>array(
        			array('label'=>'Главная','url'=>array('/admin/qgeneral/')),
                                array('label'=>'Вопросы','url'=>array('/admin/qanswer/list')),
                                array('label'=>'Новости','url'=>array('/admin/qnews/list')),
        			array('label'=>'Фото','url'=>array('/admin/qimage/list')),
        			array('label'=>'Выход','url'=>array('/site/logout/'))    			
        			),
        		))
        ?>
        <div id="content" class="container_16 clearfix">
        <?php echo $content; ?>
        </div>
        <div id="foot">
            <a href="#">Contact Me</a>
        </div>
    </body>
</html>
